package com.gpy.hospital.cms.service;

import com.github.pagehelper.PageInfo;
import com.gpy.hospital.cms.pojo.Keshi;
import com.gpy.hospital.common.ServerResponse;

import java.util.List;

public interface IKeShiService {
    PageInfo<Keshi> get(Integer pageNum, Integer pageSize, String name);

    Keshi getById(Integer keshiId);

    ServerResponse save(Keshi keshi);

    ServerResponse delete(Integer keshiId);

    List<Keshi> getAllByStatus();
}
